package club.zhcs.cms.bean.cms;

import java.util.Date;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.lang.Times;

import com.kerbores.utils.db.data.Entity;

/**
 * 
 * @author Kerbores(kerbores@gmail.com)
 *
 * @project cms
 *
 * @file Brand.java
 *
 * @description 品牌
 *
 * @copyright 内部代码,禁止转发
 *
 * @time 2016年5月12日 下午12:49:23
 *
 */
@Table("t_brand")
@Comment("品牌")
public class Brand extends Entity {

	@Column("b_name")
	@Comment("品牌名称")
	@ColDefine(width = 200)
	private String name;

	@Column("b_english_name")
	@Comment("品牌英文名称")
	@ColDefine(width = 200)
	private String englishName;

	@Column("b_desc")
	@Comment("品牌描述")
	@ColDefine(width = 21845, type = ColType.TEXT)
	private String description;

	@Column("b_english_desc")
	@Comment("品牌英文描述")
	@ColDefine(width = 21845, type = ColType.TEXT)
	private String englishDescription;

	@Column("b_create_time")
	@Comment("品牌创建时间")
	private Date createTime = Times.now();

	/**
	 * @return the englishName
	 */
	public String getEnglishName() {
		return englishName;
	}

	/**
	 * @param englishName
	 *            the englishName to set
	 */
	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	/**
	 * @return the englishDescription
	 */
	public String getEnglishDescription() {
		return englishDescription;
	}

	/**
	 * @param englishDescription
	 *            the englishDescription to set
	 */
	public void setEnglishDescription(String englishDescription) {
		this.englishDescription = englishDescription;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
